1
00:00:07,060 --> 00:00:12,190
We've learned to use some helpful Linux commands from the command line terminal and Linux, let's see

2
00:00:12,190 --> 00:00:17,400
how to do the same thing for my Windows command line, the old DOS terminal window.

3
00:00:17,890 --> 00:00:22,840
So we're going to see, first of all, how to do some of the same things, directory changing directories,

4
00:00:22,840 --> 00:00:25,420
moving around, getting some information about the system.

5
00:00:25,840 --> 00:00:31,000
And then we're going to see how to do some file commands and then we'll put it all together with some

6
00:00:31,000 --> 00:00:32,910
advanced commands and windows as well.

7
00:00:33,490 --> 00:00:41,950
So open up your windows, VM by coming to Oracle Virtual Box and starting your Windows 10 machine and

8
00:00:41,950 --> 00:00:44,010
come to your start window.

9
00:00:44,020 --> 00:00:49,600
And this is the same for just about any of the recent versions of Windows from XP.

10
00:00:49,600 --> 00:00:50,980
All the way to ten point one.

11
00:00:51,430 --> 00:00:59,440
We hit our start menu and then we come into the search bar and we can type C and D, C, D is the command

12
00:00:59,440 --> 00:01:03,640
prompt and you can either hit enter here or you can click on the command prompt above.

13
00:01:05,800 --> 00:01:12,250
And you can modify the properties of your command prompt window by go into properties font and let's

14
00:01:12,250 --> 00:01:16,240
make that significantly bigger, maybe twenty four, even twenty eight.

15
00:01:17,760 --> 00:01:24,270
And then we can change the colors if we like it, OK, and I'll maximizer that it takes up the whole

16
00:01:24,270 --> 00:01:31,230
screen and so I can come to the view menu and come to scale factor and I'll make it a little bigger,

17
00:01:31,230 --> 00:01:32,970
maybe 125 percent.

18
00:01:34,220 --> 00:01:36,320
And then I can bring it back to full screen.

19
00:01:38,740 --> 00:01:44,880
And remember, if you ever want to get out a full screen just to your your control key or your command

20
00:01:44,880 --> 00:01:51,780
key on a Mac and F to switch back and forth between full screen, so I'm in my command prompt window

21
00:01:51,960 --> 00:01:53,360
in Windows 10.

22
00:01:53,370 --> 00:02:00,840
Let's do just a Dyax and since I'm in as my user that I created, a user has all of these files and

23
00:02:00,840 --> 00:02:01,440
folders.

24
00:02:02,160 --> 00:02:07,470
The D i r command is just like the last command are very similar to the El's command.

25
00:02:07,680 --> 00:02:10,950
And actually you can see it lists and shows that these are directories.

26
00:02:10,950 --> 00:02:13,440
So it's more like the L command.

27
00:02:13,950 --> 00:02:20,220
If I want to do a wide directory or not have all this information, I actually have to say Dyax and

28
00:02:20,220 --> 00:02:26,790
then slash W, and that shows them in a stacked format or a wide format like I saw by default and Linux.

29
00:02:27,150 --> 00:02:34,280
So D-R is similar, but not exactly the same as a list command, but the CD command to change directories

30
00:02:34,650 --> 00:02:35,810
is exactly the same.

31
00:02:35,820 --> 00:02:41,100
So if I CD into the desktop DEA, I can even use my tab key.

32
00:02:42,560 --> 00:02:48,500
And I'm sitting in the desktop, I'm down at the bottom of my screen, so I'm going to do a CLX s that's

33
00:02:48,500 --> 00:02:56,300
the same as the clear command and Linux CLX will clear the screen in our Windows command prompt.

34
00:02:57,480 --> 00:02:59,940
So if I see these.

35
00:03:00,880 --> 00:03:08,230
Space dot, dot that will take me back up on directory, the same thing here, KDDI space dot, dot,

36
00:03:08,860 --> 00:03:14,520
and then I can even do a C.D. space slash and that takes me to the root of my C drive.

37
00:03:14,800 --> 00:03:17,110
So the root of my file system in windows.

38
00:03:17,530 --> 00:03:21,960
And then if I want to get back into my user's directory, I can create space capital.

39
00:03:21,970 --> 00:03:31,810
You actually case doesn't matter as much on a Windows PC and I want to use a backslash BP tab and then

40
00:03:31,810 --> 00:03:36,290
if I want to change back into my desktop, KDDI desktop.

41
00:03:36,340 --> 00:03:37,030
There we go.

42
00:03:37,810 --> 00:03:39,370
We see we can change directory.

43
00:03:39,390 --> 00:03:45,670
So listing and changing directories works very similar to what we had in Linux, but it's a directory

44
00:03:45,910 --> 00:03:48,420
and a CD, Dyax and CD.

45
00:03:49,150 --> 00:03:54,570
So we'll do a close to clear the screen and let's do a VR command.

46
00:03:54,970 --> 00:03:57,190
We can see we're in a Microsoft Windows.

47
00:03:57,730 --> 00:03:59,860
That's sort of like my you name Dash A.

48
00:04:00,100 --> 00:04:07,150
I'll also do a hostname on here so we can see that we're on a host desktop and it just has some random

49
00:04:07,150 --> 00:04:08,560
sequence of characters after it.

50
00:04:08,890 --> 00:04:15,460
But VR will tell me my operating system version of my Microsoft Windows Version 2.0.

51
00:04:16,090 --> 00:04:19,810
And if I want to see my history, I can't just do the history command.

52
00:04:20,110 --> 00:04:25,090
I have to do Dos Kidwai space slash H.

53
00:04:25,810 --> 00:04:28,750
Dusky shows me everything that I've done since I logged in.

54
00:04:29,160 --> 00:04:37,480
I've done I've had several commands, including ACLC and so we've seen oh just like on Windows, just

55
00:04:37,480 --> 00:04:42,180
like on Linux, we have an up arrow as well so we can go back up and we can come back down.

56
00:04:43,030 --> 00:04:47,890
So if we want to see a command run a second time, I just have to up to it and hit enter.

57
00:04:48,370 --> 00:04:53,880
I get up in the neck and down and I can see that history that scroll through as well.

58
00:04:54,490 --> 00:04:59,530
So those are some basics for getting the command line, plus seeing what kind of computer you're on

59
00:04:59,800 --> 00:05:00,610
in the next lesson.

60
00:05:00,610 --> 00:05:03,910
We'll see how to do some final magic in Windows.

